Return to doc.sitecore.com

  physicalFolder
Prev Next

The physical location of files for the site. The path should be specified as a path relative to Sitecore root.

The files stored in the physical folder take precedence over the Sitecore Items.

For example, consider the following configuration:

     <site
        
name="helloworld"
        hostName
=www.helloworld.com
        
virtualFolder="/virtual"
        physicalFolder
="/hello"
        rootPath
="/sitecore/content"
        startItem
="/Hello Home"
        language
="en"
        database
="web"
        domain
="extranet" />

With such configuration, the following URL will open a page in the ‘hello’ physical folder and not the Item in the content tree:

http://www.helloworld.com/virtual/test_page.html

Default value : “/”.


Prev Next